#ifndef _INTERFACE_FAT_H_
#define __INTERFACE_FAT_H_


#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <stdint.h>

#include "includes/FileSystem.h"
#include "includes/Estructuras.h"
#include "includes/InterfaceFAT.h"
#include "includes/ArchivoConfig.h"


#define FREE_CLUSTER		0x00000000
#define FREE_RESERVED		0x00000001
#define FREE_RESERVED_TOO	0x00000006
#define FREE_ULTIMO 		0x0FFFFFFF
#define FREE_ULTIMO_TOO		0x0FFFFFF8

int solicitarRootDirectory(st_Short_Directory_Entry* rootDirectory);

/*
&& tablaFAT->nroCluster != FREE_CLUSTER && 
				tablaFAT->nroCluster != FREE_RESERVED && tablaFAT->nroCluster != FREE_RESERVED_TOO
*/

#endif /* _INTERFACE_FAT_H_ */